package com.hejing.cloud.service;

import com.hejing.cloud.entities.Pay;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName: PayService
 * Package: com.hejing.cloud.service
 * Description:
 *
 * @Author: HeJing
 * @Create: 2024-04-25 21:57
 * @Version: 1.0
 */
@Service
public interface PayService {
    public int add(Pay pay);        // 增

    public int delete(Integer id);  // 删

    public int update(Pay pay);     // 改

    public Pay getById(Integer id);  // 根据id查询数据

    public List<Pay> getAll();      // 查询全部数据
}































